﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Services;
using Framework.Infrastructure.IoC;
using Domain.Module.Entities;

namespace IHaveBaby
{
    public class A
    {
        public A(){}
    }

    public class B : A
    {
        public B(){}
    }

    public class C : B
    {
        public C(){}
    }

    public partial class WebForm2 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            //MBlog mb = new MBlog();
            //mb.MarkAsAdded();
            A a = IoCFactory.Resolve<A>();
            B b = IoCFactory.Resolve<B>();

        }

        [WebMethod]
        public static object GetSource(string term)
        {
            return new object[] {"1", "2", "3" };
        }

        protected void btn_Click(object sender, EventArgs e)
        {

        }
    }
}